/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconBrowse: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M512 224c164.48 0 312.16 90.88 441.888 269.184l13.696 18.816-13.696 18.816C824.16 709.152 676.48 800 512 800c-164.48 0-312.16-90.88-441.888-269.184L56.416 512l13.696-18.816C199.84 314.848 347.52 224 512 224z m0 64c-134.912 0-258.848 72.224-372.672 219.552L135.936 512l3.392 4.448c110.912 143.552 231.392 215.808 362.304 219.424L512 736c134.912 0 258.848-72.224 372.672-219.552l3.36-4.448-3.36-4.448c-110.912-143.552-231.392-215.808-362.304-219.424z m0 64a160 160 0 1 1 0 320 160 160 0 0 1 0-320z m0 64a96 96 0 1 0 0 192 96 96 0 0 0 0-192z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconBrowse.defaultProps = {
  size: 18,
};

export default IconBrowse;
